package com.yc.multiple.jpa.bean.order;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name="order_test")
public class Order {
    @Id
    @Column(name = "order_id")
    private String orderId;
    @Column(name = "order_name")
    private String orderName;
}
